const switchEnv = () => {
    let env = process.env.NODE_ENV;
    let result = {};
    switch (env) {
        case 'dev':
            result = {
                BASE_API: 'http://localhost:8085'
            };
            break;
        case 'test':
            result = {
                BASE_API: 'http://101.37.28.198:8085'
            };
            break;
        case 'prod':
            result = {
                BASE_API: ''
            };
            break;
        default:
            break;
    }

    return result;
};


export default switchEnv
